package cn.ad.service;

import cn.ad.entity.Interest;
import cn.ad.handler.SqlSessionHandler;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 商业兴趣接口
 * @author shirongkang
 *
 */
@Service
public class InterestService {
	
	private static Logger logger = LoggerFactory.getLogger(InterestService.class);
	
	@Autowired
	private SqlSessionHandler sqlSessionHandler;

	/**
	 * 获取商业兴趣定向信息列表
	 */
	public List<Interest> getInterestMap() {
		return sqlSessionHandler.selectList("InterestMapper.select:list", null);
	}

	

}
